
var mongoose = require('mongoose');
var materializedPlugin = require('mongoose-materialized');


var schema = new mongoose.Schema({
	title:String,
	type:String
})

schema.plugin(materializedPlugin); //插件调用

var Cate = mongoose.model('Cate',schema,'cate');
module.exports = Cate;


